package com.ejoysoft.wirelessnet.warehousing;

import java.io.*;
import java.util.TimerTask;

public class DTimer extends TimerTask{       
	public void run(){
		String path="D:\\ftp";
		File file = new File(path);
		if(!file.exists()){
			System.out.println("指定的文件夹不存在，请确认！");
		}
		else{
			ReadXML t = new ReadXML();
			System.out.println("正在监听是否有数据上传");
			t.read(file);
			t.delete(file);
		}
	}
}
